home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / awe2-0_1.lha / awe2-0.1 / Src / RCS / ThreadContainer.cc,v < prev    next >
Text File  |  1989-02-20  |  1KB  |  110 lines

  1. head     3.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 3.2
  10. date     89.02.20.15.37.51;  author grunwald;  state Exp;
  11. branches ;
  12. next     3.1;
  13.  
  14. 3.1
  15. date     88.12.20.13.49.22;  author grunwald;  state Exp;
  16. branches ;
  17. next     1.2;
  18.  
  19. 1.2
  20. date     88.10.30.13.03.27;  author grunwald;  state Exp;
  21. branches ;
  22. next     1.1;
  23.  
  24. 1.1
  25. date     88.09.18.16.42.30;  author grunwald;  state Exp;
  26. branches ;
  27. next     ;
  28.  
  29.  
  30. desc
  31. @@
  32.  
  33.  
  34. 3.2
  35. log
  36. @Start using Gnu library heaps for schedulers
  37. @
  38. text
  39. @// This may look like C code, but it is really -*- C++ -*-
  40. // 
  41. // Copyright (C) 1988 University of Illinois, Urbana, Illinois
  42. //
  43. // written by Dirk Grunwald (grunwald@@cs.uiuc.edu)
  44. //
  45. #include "ThreadContainer.h"
  46. #include "assert.h"
  47.  
  48. void ThreadContainer::add(Thread*)
  49. {
  50.     assert( SubClassResponsibility );
  51. }
  52.  
  53. void ThreadContainer::add(double, Thread*)
  54. {
  55.     assert( SubClassResponsibility );
  56. }
  57.  
  58. void ThreadContainer::add(int when, Thread* p)
  59. {
  60.     add(double(when), p);
  61. }
  62.  
  63. Thread* ThreadContainer::remove()
  64. {
  65.     assert( SubClassResponsibility );
  66.     return( (Thread *) 0);
  67. }
  68.  
  69. Thread* ThreadContainer::remove(Thread *)
  70. {
  71.     assert( SubClassResponsibility );
  72.     return( (Thread *) 0);
  73. }
  74.  
  75. bool ThreadContainer::isEmpty()
  76. {
  77.     return(1);
  78. }
  79.  
  80. unsigned ThreadContainer::size()
  81. {
  82.     return(0);
  83. }
  84. @
  85.  
  86.  
  87. 3.1
  88. log
  89. @Steay version
  90. @
  91. text
  92. @@
  93.  
  94.  
  95. 1.2
  96. log
  97. @*** empty log message ***
  98. @
  99. text
  100. @@
  101.  
  102.  
  103. 1.1
  104. log
  105. @Initial revision
  106. @
  107. text
  108. @d1 6
  109. @
  110.